package com.itheima;

public class While {
    public static void main(String[] args) {
        double i = 0;
        double h = 0.1;
        while (h <= 8848860) {
            h = h * 2;
            i++;
        }
        System.out.println("第" + i + "次，h=" + h);

    }
}
